package com.lht.testDemo;

import org.junit.Test;

import java.security.AccessController;

/**
 * @author Eric
 * @version 1.0
 * @date 2019-11-26
 */
public class AccessControllerTest {

    @Test
    public void test() {
        SecurityManager securityManager = new SecurityManager();
        securityManager.checkRead("D:\\project\\me\\demo\\testDemo\\src\\main\\java\\com.lht.testDemo\\ArraysDemo.java");
//        AccessController.checkPermission();
    }
}
